xen/arm: mm: Rename xenheap_* variable to directmap_*
authorHenry Wang <Henry.Wang@arm.com>
Thu, 8 Sep 2022 11:09:09 +0000 (11:09 +0000)
committerJulien Grall <jgrall@amazon.com>
Thu, 8 Sep 2022 11:27:15 +0000 (12:27 +0100)
commitf030935efb376bcbdf2e69692f951775bdf9ab58
tree26c70b7f5ab6cc9ca2a117cea4b63c86c6432128
parent4596329291f5cff9c28d269d21aac17ef993e9fb
xen/arm: mm: Rename xenheap_* variable to directmap_*

With the static heap setup, keep using xenheap_* in the function
setup_xenheap_mappings() will make the code confusing to read,
because we always need to map the full RAM on Arm64. Therefore,
renaming all "xenheap_*" variables to "directmap_*" to make clear
the area is used to access the RAM easily.

On Arm32, only the xenheap is direct mapped today. So the renaming
to "directmap_*" would be still valid for Arm32.

As the xenheap_* is renamed to directmap_*, rename the function
setup_xenheap_mappings() to setup_directmap_mappings() to reflect
the variable renaming, also change the code comment and printed
error message in the function accordingly.

No functional change is intended.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/bootfdt.c
xen/arch/arm/include/asm/config.h
xen/arch/arm/include/asm/mm.h
xen/arch/arm/mm.c
xen/arch/arm/setup.c